package com.yunhe.policyfulfillment.authority.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: PolicyCompanyUserQueryCondition
 * @Description:
 * @author: GongDaCheng
 * @Date: 11:37 2021/9/18
 */
@Data
@ApiModel("企业用户查询条件")
public class PolicyCompanyUserQueryCondition implements Serializable {

    private static final long serialVersionUID = 8872215927542972012L;

    @ApiModelProperty("企业用户账号")
    private String userAccount;

    @ApiModelProperty("企业名称")
    private String companyName;

    @ApiModelProperty("统一社会信用代码")
    private String unifiedSocialCreditCode;

    @ApiModelProperty("企业用户状态 01 正常 02禁用 03 锁定")
    private String activity;

    @ApiModelProperty("申请开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String applyStartTime;

    @ApiModelProperty("申请结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String applyEndTime;

    @ApiModelProperty("审核开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String auditStartTime;

    @ApiModelProperty("审核结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String auditEndTime;

    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    @ApiModelProperty(value = "页面条数",required = true)
    private int size;
}
